package com.svms.save.entitys;

import java.util.ArrayList;
import java.util.List;

public class SvdaTsglExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public SvdaTsglExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andObjectidIsNull() {
            addCriterion("objectid is null");
            return (Criteria) this;
        }

        public Criteria andObjectidIsNotNull() {
            addCriterion("objectid is not null");
            return (Criteria) this;
        }

        public Criteria andObjectidEqualTo(Long value) {
            addCriterion("objectid =", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotEqualTo(Long value) {
            addCriterion("objectid <>", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidGreaterThan(Long value) {
            addCriterion("objectid >", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidGreaterThanOrEqualTo(Long value) {
            addCriterion("objectid >=", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidLessThan(Long value) {
            addCriterion("objectid <", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidLessThanOrEqualTo(Long value) {
            addCriterion("objectid <=", value, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidIn(List<Long> values) {
            addCriterion("objectid in", values, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotIn(List<Long> values) {
            addCriterion("objectid not in", values, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidBetween(Long value1, Long value2) {
            addCriterion("objectid between", value1, value2, "objectid");
            return (Criteria) this;
        }

        public Criteria andObjectidNotBetween(Long value1, Long value2) {
            addCriterion("objectid not between", value1, value2, "objectid");
            return (Criteria) this;
        }

        public Criteria andSjmcIsNull() {
            addCriterion("sjmc is null");
            return (Criteria) this;
        }

        public Criteria andSjmcIsNotNull() {
            addCriterion("sjmc is not null");
            return (Criteria) this;
        }

        public Criteria andSjmcEqualTo(String value) {
            addCriterion("sjmc =", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcNotEqualTo(String value) {
            addCriterion("sjmc <>", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcGreaterThan(String value) {
            addCriterion("sjmc >", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcGreaterThanOrEqualTo(String value) {
            addCriterion("sjmc >=", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcLessThan(String value) {
            addCriterion("sjmc <", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcLessThanOrEqualTo(String value) {
            addCriterion("sjmc <=", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcLike(String value) {
            addCriterion("sjmc like", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcNotLike(String value) {
            addCriterion("sjmc not like", value, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcIn(List<String> values) {
            addCriterion("sjmc in", values, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcNotIn(List<String> values) {
            addCriterion("sjmc not in", values, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcBetween(String value1, String value2) {
            addCriterion("sjmc between", value1, value2, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjmcNotBetween(String value1, String value2) {
            addCriterion("sjmc not between", value1, value2, "sjmc");
            return (Criteria) this;
        }

        public Criteria andSjzzIsNull() {
            addCriterion("sjzz is null");
            return (Criteria) this;
        }

        public Criteria andSjzzIsNotNull() {
            addCriterion("sjzz is not null");
            return (Criteria) this;
        }

        public Criteria andSjzzEqualTo(String value) {
            addCriterion("sjzz =", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzNotEqualTo(String value) {
            addCriterion("sjzz <>", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzGreaterThan(String value) {
            addCriterion("sjzz >", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzGreaterThanOrEqualTo(String value) {
            addCriterion("sjzz >=", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzLessThan(String value) {
            addCriterion("sjzz <", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzLessThanOrEqualTo(String value) {
            addCriterion("sjzz <=", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzLike(String value) {
            addCriterion("sjzz like", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzNotLike(String value) {
            addCriterion("sjzz not like", value, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzIn(List<String> values) {
            addCriterion("sjzz in", values, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzNotIn(List<String> values) {
            addCriterion("sjzz not in", values, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzBetween(String value1, String value2) {
            addCriterion("sjzz between", value1, value2, "sjzz");
            return (Criteria) this;
        }

        public Criteria andSjzzNotBetween(String value1, String value2) {
            addCriterion("sjzz not between", value1, value2, "sjzz");
            return (Criteria) this;
        }

        public Criteria andCbsIsNull() {
            addCriterion("cbs is null");
            return (Criteria) this;
        }

        public Criteria andCbsIsNotNull() {
            addCriterion("cbs is not null");
            return (Criteria) this;
        }

        public Criteria andCbsEqualTo(String value) {
            addCriterion("cbs =", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsNotEqualTo(String value) {
            addCriterion("cbs <>", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsGreaterThan(String value) {
            addCriterion("cbs >", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsGreaterThanOrEqualTo(String value) {
            addCriterion("cbs >=", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsLessThan(String value) {
            addCriterion("cbs <", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsLessThanOrEqualTo(String value) {
            addCriterion("cbs <=", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsLike(String value) {
            addCriterion("cbs like", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsNotLike(String value) {
            addCriterion("cbs not like", value, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsIn(List<String> values) {
            addCriterion("cbs in", values, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsNotIn(List<String> values) {
            addCriterion("cbs not in", values, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsBetween(String value1, String value2) {
            addCriterion("cbs between", value1, value2, "cbs");
            return (Criteria) this;
        }

        public Criteria andCbsNotBetween(String value1, String value2) {
            addCriterion("cbs not between", value1, value2, "cbs");
            return (Criteria) this;
        }

        public Criteria andSjbzIsNull() {
            addCriterion("sjbz is null");
            return (Criteria) this;
        }

        public Criteria andSjbzIsNotNull() {
            addCriterion("sjbz is not null");
            return (Criteria) this;
        }

        public Criteria andSjbzEqualTo(String value) {
            addCriterion("sjbz =", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzNotEqualTo(String value) {
            addCriterion("sjbz <>", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzGreaterThan(String value) {
            addCriterion("sjbz >", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzGreaterThanOrEqualTo(String value) {
            addCriterion("sjbz >=", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzLessThan(String value) {
            addCriterion("sjbz <", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzLessThanOrEqualTo(String value) {
            addCriterion("sjbz <=", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzLike(String value) {
            addCriterion("sjbz like", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzNotLike(String value) {
            addCriterion("sjbz not like", value, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzIn(List<String> values) {
            addCriterion("sjbz in", values, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzNotIn(List<String> values) {
            addCriterion("sjbz not in", values, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzBetween(String value1, String value2) {
            addCriterion("sjbz between", value1, value2, "sjbz");
            return (Criteria) this;
        }

        public Criteria andSjbzNotBetween(String value1, String value2) {
            addCriterion("sjbz not between", value1, value2, "sjbz");
            return (Criteria) this;
        }

        public Criteria andIsbnIsNull() {
            addCriterion("isbn is null");
            return (Criteria) this;
        }

        public Criteria andIsbnIsNotNull() {
            addCriterion("isbn is not null");
            return (Criteria) this;
        }

        public Criteria andIsbnEqualTo(String value) {
            addCriterion("isbn =", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnNotEqualTo(String value) {
            addCriterion("isbn <>", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnGreaterThan(String value) {
            addCriterion("isbn >", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnGreaterThanOrEqualTo(String value) {
            addCriterion("isbn >=", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnLessThan(String value) {
            addCriterion("isbn <", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnLessThanOrEqualTo(String value) {
            addCriterion("isbn <=", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnLike(String value) {
            addCriterion("isbn like", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnNotLike(String value) {
            addCriterion("isbn not like", value, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnIn(List<String> values) {
            addCriterion("isbn in", values, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnNotIn(List<String> values) {
            addCriterion("isbn not in", values, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnBetween(String value1, String value2) {
            addCriterion("isbn between", value1, value2, "isbn");
            return (Criteria) this;
        }

        public Criteria andIsbnNotBetween(String value1, String value2) {
            addCriterion("isbn not between", value1, value2, "isbn");
            return (Criteria) this;
        }

        public Criteria andSslbIsNull() {
            addCriterion("sslb is null");
            return (Criteria) this;
        }

        public Criteria andSslbIsNotNull() {
            addCriterion("sslb is not null");
            return (Criteria) this;
        }

        public Criteria andSslbEqualTo(String value) {
            addCriterion("sslb =", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbNotEqualTo(String value) {
            addCriterion("sslb <>", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbGreaterThan(String value) {
            addCriterion("sslb >", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbGreaterThanOrEqualTo(String value) {
            addCriterion("sslb >=", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbLessThan(String value) {
            addCriterion("sslb <", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbLessThanOrEqualTo(String value) {
            addCriterion("sslb <=", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbLike(String value) {
            addCriterion("sslb like", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbNotLike(String value) {
            addCriterion("sslb not like", value, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbIn(List<String> values) {
            addCriterion("sslb in", values, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbNotIn(List<String> values) {
            addCriterion("sslb not in", values, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbBetween(String value1, String value2) {
            addCriterion("sslb between", value1, value2, "sslb");
            return (Criteria) this;
        }

        public Criteria andSslbNotBetween(String value1, String value2) {
            addCriterion("sslb not between", value1, value2, "sslb");
            return (Criteria) this;
        }

        public Criteria andCfwzIsNull() {
            addCriterion("cfwz is null");
            return (Criteria) this;
        }

        public Criteria andCfwzIsNotNull() {
            addCriterion("cfwz is not null");
            return (Criteria) this;
        }

        public Criteria andCfwzEqualTo(String value) {
            addCriterion("cfwz =", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotEqualTo(String value) {
            addCriterion("cfwz <>", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzGreaterThan(String value) {
            addCriterion("cfwz >", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzGreaterThanOrEqualTo(String value) {
            addCriterion("cfwz >=", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzLessThan(String value) {
            addCriterion("cfwz <", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzLessThanOrEqualTo(String value) {
            addCriterion("cfwz <=", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzLike(String value) {
            addCriterion("cfwz like", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotLike(String value) {
            addCriterion("cfwz not like", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzIn(List<String> values) {
            addCriterion("cfwz in", values, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotIn(List<String> values) {
            addCriterion("cfwz not in", values, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzBetween(String value1, String value2) {
            addCriterion("cfwz between", value1, value2, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotBetween(String value1, String value2) {
            addCriterion("cfwz not between", value1, value2, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCzsjIsNull() {
            addCriterion("czsj is null");
            return (Criteria) this;
        }

        public Criteria andCzsjIsNotNull() {
            addCriterion("czsj is not null");
            return (Criteria) this;
        }

        public Criteria andCzsjEqualTo(String value) {
            addCriterion("czsj =", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotEqualTo(String value) {
            addCriterion("czsj <>", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjGreaterThan(String value) {
            addCriterion("czsj >", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjGreaterThanOrEqualTo(String value) {
            addCriterion("czsj >=", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLessThan(String value) {
            addCriterion("czsj <", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLessThanOrEqualTo(String value) {
            addCriterion("czsj <=", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjLike(String value) {
            addCriterion("czsj like", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotLike(String value) {
            addCriterion("czsj not like", value, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjIn(List<String> values) {
            addCriterion("czsj in", values, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotIn(List<String> values) {
            addCriterion("czsj not in", values, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjBetween(String value1, String value2) {
            addCriterion("czsj between", value1, value2, "czsj");
            return (Criteria) this;
        }

        public Criteria andCzsjNotBetween(String value1, String value2) {
            addCriterion("czsj not between", value1, value2, "czsj");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}